alter table deleted_problem add WRITE_USER_DEPARTMENT1_ID int
go
alter table deleted_problem add WRITE_USER_DEPARTMENT2_ID int
go

USE [safe_manage]
GO

/****** Object:  Table [dbo].[department1_postcheck_mapping]    Script Date: 08/05/2012 10:11:09 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[department1_postcheck_mapping](
	[DEPARTMENT1_ID] [int] NOT NULL,
	[POSTCHECK_ID] [int] NOT NULL,
 CONSTRAINT [PK_department1_postcheck_mapping] PRIMARY KEY CLUSTERED 
(
	[DEPARTMENT1_ID] ASC,
	[POSTCHECK_ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO





